<template>
  <div>
     
  </div>
</template>
<script>
// import axios from '@/style/axios'
export default{
    name:"Head",
    //生命周期
    created() {
     this.ajax({
        method:'get',
        url:"/mydata/roles/role-info.php?goodsID=12",
      }).then((res)=>{
        this.roles=res.data;
        // console.log(res.data);
      }).catch((error)=>{
        console.log('失败'+error)
      })
    },
}
</script>